
import Vue from 'vue'
import App from './App'
import router from './router'

import ElementUI from 'element-ui'; // element-ui
import 'element-ui/lib/theme-chalk/index.css';

import axios from 'axios'; // 引入axios
import store from './store'

import storage from 'good-storage'

Vue.prototype.axios=axios; // 将axios 挂载到Vue 的原型上
Vue.prototype.storage=storage; // 将本地存储对象挂载到Vue 原型上

Vue.config.productionTip = false;

Vue.use(ElementUI); // 注册element-ui


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  store

})
